<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport"
  content="width=device-width, initial-scale=1.0, minimum-scale=1,maximum-scale=1,user-scalable=no">
 <meta http-equiv="X-UA-Compatible" content="ie=edge">
 <title data-ch="恐龙探险" data-en="Dinosaur Adventure" class="document_title">恐龙探险</title>
 <script src="js/jquery-3.3.1.min.js"></script>
 <script src="js/common.js"></script>
 <script src="js/rem.js"></script>
 <script src="js/layer.js"></script>
 <script type="text/javascript">
  isLogin();
 </script>
 <link rel="stylesheet" href="css/common.css">
 <link rel="stylesheet" type="text/css" href="css/css.css">
</head>
<body>
<!--头部-->
<div class="jui_top_bar">
    <div class="jui_top_left"></div>
    <div class="jui_top_middle" data-ch="我的二维码" data-en="My QR code">我的二维码</div>
</div>
<!--头部end--> 
<!--主体-->
<div class="jui_main jui_flex_col_center">
     <div class="jui_h80"></div>
     <div class="ewm_btn">
      <span class="col_fff" data-ch="我的邀请码：" data-en="My invitation code: ">我的邀请码：</span class="col_fff">
      <span class="user_code"></span>
     </div>
     <div class="jui_h20"></div>
     <img class="ewm_img" src="">
</div>
<!--主体end-->
<!-- 固定底部 -->
<div class="jui_footer">
     <a href="index.html" class="jui_foot_list">
         <img class="jui_foot_icon" src="icons/nav_icon01.png">
         <p data-ch="恐龙市场" data-en="Market">恐龙市场</p>
     </a>
     <a href="weishi.html" class="jui_foot_list">
         <img class="jui_foot_icon" src="icons/nav_icon02.png">
         <p data-ch="喂食挂卖" data-en="Feed & sell">喂食挂卖</p>
     </a>
     <a href="my_konglong.html" class="jui_foot_list">
         <img class="jui_foot_icon" src="icons/nav_icon03.png">
         <p data-ch="我的恐龙" data-en="My Dino">我的恐龙</p>
     </a>
     <a href="ewm.html" class="jui_foot_list jui_hover">
         <img class="jui_foot_icon" src="icons/nav_icon04.png">
         <p data-ch="二维码" data-en="QR code">二维码</p>
     </a>
     <a href="set.html" class="jui_foot_list">
         <img class="jui_foot_icon" src="icons/nav_icon05.png">
         <p data-ch="设置" data-en="Settings">设置</p>
     </a>
</div>
<!-- 固定底部end -->

<script>
 $(function(){
  var data = {
   uid: localStorage.getItem("u_id"),
   token: localStorage.getItem("token"),
   language_type: localStorage.getItem("language_type")
  }
  $.ajax({
   type: 'post',
   url: baseURL + '/index.php?m=user&c=shar',
   data: data,
   success: function success(data){
    data = JSON.parse(data);
    is_login(data);
    if(data.code == 1){
     $(".user_code").html(data.invite_code);
     $(".ewm_img").attr("src",data.code_url)
    } else {
     box_timer(data.msg);
    }
   }
  })

  language();
  documentName()
 })
</script>
</body>
</html>